<head>
    <meta charset="UTF-8">
<title>算法提高 栅格打印问题</title>
<link rel="stylesheet" href="../css/main.css">
</head>
 <p><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">
<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"><o:p><font face="Calibri"><strong><font size="3">&nbsp;</font></strong></font><span lang="EN-US"><o:p><strong><font size="3">&nbsp;</font></strong></o:p></span></o:p></span></p>
<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><strong><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">问题描述</span><span lang="EN-US"><o:p></o:p></span></font></strong></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">编写一个程序，输入两个整数，作为栅格的高度和宽度，然后用&ldquo;</span><span lang="EN-US">+</span><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">&rdquo;、&ldquo;</span><span lang="EN-US">-</span><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">&rdquo;和&ldquo;</span><span lang="EN-US">|</span><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">&rdquo;这三个字符来打印一个栅格。</span><span lang="EN-US"><o:p></o:p></span></font></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">输入格式：输入只有一行，包括两个整数，分别为栅格的高度和宽度。</span><span lang="EN-US"><o:p></o:p></span></font></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">输出格式：输出相应的栅格。</span><span lang="EN-US"><o:p></o:p></span></font></p>
<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><strong><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">输入输出样例</span><span lang="EN-US"><o:p></o:p></span></font></strong></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">输入样例：</span><span lang="EN-US"><o:p></o:p></span></font></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"><font size="3">3 2<o:p></o:p></font></span></p>
<p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font size="3"><span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri">输出样例：</span><span lang="EN-US"><o:p></o:p></span></font></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">+-+-+<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">| | |<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">+-+-+<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">| | |<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">+-+-+<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">| | |<o:p></o:p></font></span></p>
<p style="text-indent: 21.2pt; margin: 0cm 0cm 0pt; mso-char-indent-count: 2.02" class="MsoNormal"><span style="font-family: 宋体; mso-ascii-theme-font: minor-fareast; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-fareast" lang="EN-US"><font size="3">+-+-+<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span lang="EN-US"><o:p><font size="3">&nbsp;</font></o:p></span></p>
<p style="margin: 0cm 0cm 0pt" class="MsoNormal">&nbsp;</p>
</span></p>
<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 'Courier New'" lang="EN-US"><font size="3"><o:p></o:p></font></span></p>